package org.example.commonapi.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.commonapi.domain.User;
import org.example.commonapi.dto.LoginInfo;
import org.example.commonapi.dto.StudentDto;

import java.util.List;

/**
* @author DELL
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-05-16 20:17:38
* @Entity generator.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    List<StudentDto> studentList(@Param("schoolName") String schoolName,@Param("username") String username,@Param("studentRole") Integer studentRole);

    LoginInfo getInfo(Long id);
}




